/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Baseanti.Model
{

    /// <summary>
    ///  attackLog
    /// </summary>
    public class AttackLog
    {

        ///<summary>
        /// 公网 IP 地址
        ///</summary>
        public string Ip{ get; set; }
        ///<summary>
        /// 公网 IP 类型或绑定资源类型.
        /// &lt;br&gt;- 0: 未知类型
        /// &lt;br&gt;- 1: 弹性公网 IP(IP 为弹性公网 IP, 绑定资源类型未知)
        /// &lt;br&gt;- 10: 弹性公网 IP(IP 为弹性公网 IP, 但未绑定资源)
        /// &lt;br&gt;- 11: 云主机
        /// &lt;br&gt;- 12: 负载均衡
        /// &lt;br&gt;- 13: 原生容器实例
        /// &lt;br&gt;- 14: 原生容器 Pod
        /// &lt;br&gt;- 2: 云物理服务器
        /// &lt;br&gt;- 3: Web应用防火墙 IP
        /// &lt;br&gt;- 4: 托管区公网 IP
        /// 
        ///</summary>
        public int? ResourceType{ get; set; }
        ///<summary>
        /// 攻击记录 ID
        ///</summary>
        public string AttackLogId{ get; set; }
        ///<summary>
        /// 攻击开始时间, UTC 时间, 格式: yyyy-MM-dd&#39;T&#39;HH:mm:ssZ
        ///</summary>
        public string StartTime{ get; set; }
        ///<summary>
        /// 攻击结束时间, UTC 时间, 格式: yyyy-MM-dd&#39;T&#39;HH:mm:ssZ
        ///</summary>
        public string EndTime{ get; set; }
        ///<summary>
        /// 触发原因.&lt;br&gt;- 0: 未知,&lt;br&gt;- 1: 四层,&lt;br&gt;- 2: 七层,&lt;br&gt;- 3: 四层和七层
        ///</summary>
        public int? Cause{ get; set; }
        ///<summary>
        /// 状态. &lt;br&gt;- 0: 清洗完成&lt;br&gt;- 1: 清洗中&lt;br&gt;- 2: 黑洞中
        ///</summary>
        public int? Status{ get; set; }
        ///<summary>
        /// 是否黑洞
        ///</summary>
        public bool BlackHole{ get; set; }
        ///<summary>
        /// 攻击流量峰值
        ///</summary>
        public double? Peak{ get; set; }
        ///<summary>
        /// 攻击流量峰值单位
        ///</summary>
        public string Unit{ get; set; }
        ///<summary>
        /// 攻击类型
        ///</summary>
        public List<string> AttackType{ get; set; }
    }
}
